package com.kikcn.demo.dao;

import com.kikcn.demo.domain.Bookmark;
import com.kikcn.demo.domain.BookmarkFolder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * User: wlai
 * Date: 4/10/15
 * Time: 10:03 AM
 */
public interface BookmarkRepository extends JpaRepository<Bookmark,Integer> {
    public List<Bookmark> findByParent(BookmarkFolder folder);

}
